home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT-D.SPK / lclint / guide / fig7-out < prev    next >
Text File  |  1996-08-26  |  922b  |  19 lines

  1. LCLint 2.2 --- 25 Aug 96
  2.  
  3. stack.c: (in function f)
  4. <A HREF="stack.c.html#line12" target="source">stack.c:12,10</A>: Stack-allocated storage &loc reachable
  5.                   from return value: &loc
  6.   A stack reference is pointed to by an external
  7.   reference when the function returns. The
  8.   stack-allocated storage is destroyed after the call,
  9.   leaving a dangling reference. (-stackref will
  10.   suppress message)
  11. <A HREF="stack.c.html#line12" target="source">stack.c:12,15</A>: Stack-allocated storage *x reachable
  12.                   from parameter x
  13.    <A HREF="stack.c.html#line10" target="source">stack.c:10,3</A>: Storage *x becomes stack
  14. <A HREF="stack.c.html#line12" target="source">stack.c:12,15</A>: Stack-allocated storage glob reachable
  15.                   from global glob
  16.    <A HREF="stack.c.html#line9" target="source">stack.c:9,3</A>: Storage glob becomes stack
  17.  
  18. Finished LCLint checking --- 3 code errors found
  19.